package b.a.d;

import a.c.v;
import a.c.z;
import a.j.xe;
import b.a.c.b;
import org.apache.batik.bridge.BridgeContext;
import org.apache.batik.bridge.GVTBuilder;
import org.apache.batik.bridge.UserAgentAdapter;
import org.apache.batik.dom.svg.SAXSVGDocumentFactory;
import org.apache.batik.ext.awt.RenderingHintsKeyExt;
import org.apache.batik.gvt.GraphicsNode;
import org.apache.batik.svggen.DOMGroupManager;
import org.apache.batik.svggen.SVGGraphics2D;
import org.w3c.dom.*;
import org.w3c.dom.css.CSSStyleDeclaration;
import org.w3c.dom.css.ViewCSS;
import org.w3c.dom.svg.SVGDocument;

import java.awt.*;
import java.awt.geom.AffineTransform;
import java.awt.geom.Dimension2D;
import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage;
import java.io.*;
import java.lang.ref.WeakReference;
import java.net.URL;
import java.util.*;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;

public class d
  implements Cloneable
{
  private static final double a = 1.0E-008D;
  public static final RenderingHints.Key b = new g_(null);
  public static final Object c = new c_("force vectorization", null);
  public static final Object d = new c_("force rasterization", null);
  public static final Object e = new c_("default", null);
  public static final int f = 0;
  public static final int g = 1;
  public static final int h = 2;
  static final int i = 3;
  private static final int j = 8192;
  private static final int k = 7;
  private static final Map l = Collections.synchronizedMap(new WeakHashMap(11));
  private static final Map m = Collections.synchronizedMap(new WeakHashMap(11));
  private static final z n = new z();
  private static int o = 10;
  private static int p = 100000;
  private static boolean q = true;
  private static double r = 0.9D;
  private GraphicsNode s;
  private URL t;
  private String u;
  private Rectangle2D v;
  private int w = 0;
  public static int x;
  
  public d() {}
  
  public d(URL paramURL)
  {
    b(paramURL);
    c();
  }
  
  public d(Reader paramReader)
  {
    this.s = b(paramReader);
    c();
  }
  
  public Rectangle2D a()
  {
    return this.v;
  }
  
  public void a(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    int i5 = x;
    Rectangle2D localRectangle2D = this.v;
    if ((this.s != null) && ((i5 != 0) || (localRectangle2D != null)))
    {
      Object localObject1 = paramGraphics2D.getRenderingHint(b);
      boolean bool1 = d.equals(localObject1);
      boolean bool2 = paramGraphics2D instanceof SVGGraphics2D;
      AffineTransform localAffineTransform = paramGraphics2D.getTransform();
      if (((i5 != 0) || (q)) && ((i5 != 0) || (c(localAffineTransform)))) {
        if (i5 != 0) {}
      }
      int i1 = !c.equals(localObject1) ? 1 : 0;
      double d1 = 1.0D;
      double d2 = 1.0D;
      if (i5 == 0)
      {
        if (i1 != 0) {
          d1 = a(localAffineTransform);
        }
      }
      else {
        d2 = b(localAffineTransform);
      }
      Object localObject2 = null;
      double d3 = Math.ceil(Math.max(paramDouble3 * d1, 1.0D));
      double d4 = Math.ceil(Math.max(paramDouble4 * d2, 1.0D));
      int i2 = (int)d3;
      int i3 = (int)d4;
      if (i1 != 0)
      {
        v localv = n.f();
        while (localv != null)
        {
          b_ localb_ = (b_)localv.c();
          double d5 = (d3 + 0.5D) / localb_.c;
          double d6 = (d4 + 0.5D) / localb_.d;
          if (i5 != 0) {
            return;
          }
          if (i5 == 0)
          {
            if ((this.u.equals(localb_.b)) && (((i5 == 0) && ((i2 == localb_.c) && ((i5 == 0) && (i3 == localb_.d)))) || (((i5 != 0) || (d5 <= 1.0D)) && ((i5 != 0) || (d5 >= r)) && ((i5 != 0) || ((d6 <= 1.0D) && (d6 >= r))))))
            {
              localObject2 = localb_;
              synchronized (n)
              {
                n.h(localv);
                n.b(localv);
              }
            }
            localv = localv.a();
          }
        }
      }
      long l1 = i2 * i3 * 4L;
      if ((i5 != 0) || (0L < l1)) {
        if (i5 != 0) {}
      }
      int i4 = l1 < p ? 1 : 0;
      Object localObject3;
      Object localObject4;
      Object localObject5;
      label651:
      Object localObject7;
      if (i5 == 0) {
        if ((localObject2 == null) && (((i5 == 0) && (bool1)) || ((i5 != 0) || ((i1 != 0) && (i4 != 0)))))
        {
          localObject3 = new BufferedImage(i2, i3, 2);
          localObject4 = (Graphics2D)((Image)localObject3).getGraphics();
          xe.a(paramGraphics2D);
          ((Graphics2D)localObject4).setRenderingHints(paramGraphics2D.getRenderingHints());
          xe.b(paramGraphics2D);
          localObject5 = ((Graphics2D)localObject4).getTransform();
          ((AffineTransform)localObject5).scale(((Image)localObject3).getWidth(null) / localRectangle2D.getWidth(), ((Image)localObject3).getHeight(null) / localRectangle2D.getHeight());
          ((AffineTransform)localObject5).translate(-localRectangle2D.getX(), -localRectangle2D.getY());
          ((Graphics2D)localObject4).setTransform((AffineTransform)localObject5);
          ??? = ((Graphics2D)localObject4).getRenderingHint(RenderingHintsKeyExt.KEY_BUFFERED_IMAGE);
          ((Graphics2D)localObject4).setRenderingHint(RenderingHintsKeyExt.KEY_BUFFERED_IMAGE, new WeakReference(localObject3));
          this.s.paint((Graphics2D)localObject4);
          if (i5 == 0) {
            if (??? != null)
            {
              ((Graphics2D)localObject4).setRenderingHint(RenderingHintsKeyExt.KEY_BUFFERED_IMAGE, ???);
              if (i5 == 0) {
                break label651;
              }
            }
          }
          ((Graphics2D)localObject4).getRenderingHints().remove(RenderingHintsKeyExt.KEY_BUFFERED_IMAGE);
          if (i5 != 0) {
            break label768;
          }
          localObject2 = new b_((Image)localObject3, this.u, i2, i3);
          if (i1 != 0) {
            label752:
            synchronized (n)
            {
              if (i5 == 0) {
                if (n.size() > o - 1)
                {
                  localObject7 = n.g();
                  n.h((v)localObject7);
                  ((v)localObject7).a(localObject2);
                  n.b((v)localObject7);
                  if (i5 == 0) {
                    break label752;
                  }
                }
              }
              n.a(localObject2);
            }
          }
        }
      }
      if (localObject2 != null)
      {
        label768:
        localObject3 = AffineTransform.getTranslateInstance(paramDouble1, paramDouble2);
        if (i5 == 0) {}
        ((AffineTransform)localObject3).scale((i2 == ((b_)localObject2).c ? 1.0D : d3 / ((b_)localObject2).c) / d1, (i3 == ((b_)localObject2).d ? 1.0D : d4 / ((b_)localObject2).d) / d2);
        localObject4 = paramGraphics2D.getRenderingHint(RenderingHints.KEY_INTERPOLATION);
        paramGraphics2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR);
        paramGraphics2D.drawImage(((b_)localObject2).a, (AffineTransform)localObject3, null);
        if (i5 == 0) {
          if (localObject4 != null)
          {
            paramGraphics2D.setRenderingHint(RenderingHints.KEY_INTERPOLATION, localObject4);
            if (i5 == 0) {
              return;
            }
          }
        }
        paramGraphics2D.getRenderingHints().remove(RenderingHints.KEY_INTERPOLATION);
        if (i5 == 0) {}
      }
      else if (bool2)
      {
        localObject3 = null;
        try
        {
          localObject3 = b(this.u);
        }
        catch (IOException localIOException)
        {
          localObject3 = null;
        }
        if (i5 == 0) {
          if (localObject3 == null) {
            return;
          }
        }
        b localb = (b)paramGraphics2D.getRenderingHint(b.a);
        if ((i5 != 0) || (localb != null)) {
          localb.a((SVGDocument)localObject3);
        }
        localObject5 = (SVGGraphics2D)paramGraphics2D.create();
        ??? = paramGraphics2D.getTransform();
        ((AffineTransform)???).translate(paramDouble1, paramDouble2);
        ((AffineTransform)???).scale(paramDouble3 / localRectangle2D.getWidth(), paramDouble4 / localRectangle2D.getHeight());
        ((AffineTransform)???).translate(-localRectangle2D.getX(), -localRectangle2D.getY());
        ((SVGGraphics2D)localObject5).setTransform((AffineTransform)???);
        ??? = ((SVGGraphics2D)localObject5).getDOMFactory();
        localObject7 = ((Document)???).createElement("g");
        ((Element)localObject7).appendChild(a((SVGDocument)localObject3, ((Document)???).importNode(((SVGDocument)localObject3).getDocumentElement(), true)));
        new DOMGroupManager(((SVGGraphics2D)localObject5).getGraphicContext(), ((SVGGraphics2D)localObject5).getDOMTreeManager()).addElement((Element)localObject7);
        ((SVGGraphics2D)localObject5).dispose();
        if (i5 == 0) {}
      }
      else
      {
        localObject3 = (Graphics2D)paramGraphics2D.create();
        ((Graphics2D)localObject3).translate(paramDouble1, paramDouble2);
        ((Graphics2D)localObject3).scale(paramDouble3 / localRectangle2D.getWidth(), paramDouble4 / localRectangle2D.getHeight());
        ((Graphics2D)localObject3).translate(-localRectangle2D.getX(), -localRectangle2D.getY());
        xe.a((Graphics2D)localObject3);
        this.s.paint((Graphics2D)localObject3);
        xe.b((Graphics2D)localObject3);
        ((Graphics2D)localObject3).dispose();
      }
    }
  }
  
  private double a(AffineTransform paramAffineTransform)
  {
    if (x == 0) {
      if (a(paramAffineTransform.getType())) {
        return paramAffineTransform.getScaleX();
      }
    }
    double d1 = paramAffineTransform.getScaleX();
    double d2 = paramAffineTransform.getShearY();
    return Math.sqrt(d1 * d1 + d2 * d2);
  }
  
  private double b(AffineTransform paramAffineTransform)
  {
    if (x == 0) {
      if (a(paramAffineTransform.getType())) {
        return paramAffineTransform.getScaleY();
      }
    }
    double d1 = paramAffineTransform.getShearX();
    double d2 = paramAffineTransform.getScaleY();
    return Math.sqrt(d1 * d1 + d2 * d2);
  }
  
  private static boolean c(AffineTransform paramAffineTransform)
  {
    int i1 = x;
    if (i1 == 0) {
      if (a(paramAffineTransform.getType())) {
        return true;
      }
    }
    double d1 = paramAffineTransform.getScaleX();
    double d2 = paramAffineTransform.getShearY();
    double d3 = Math.sqrt(d1 * d1 + d2 * d2);
    if (i1 == 0) {
      if (d3 < 1.0E-008D) {
        return false;
      }
    }
    double d4 = paramAffineTransform.getShearX();
    double d5 = paramAffineTransform.getScaleY();
    double d6 = Math.sqrt(d4 * d4 + d5 * d5);
    if (i1 == 0) {
      if (d6 < 1.0E-008D) {
        return false;
      }
    }
    if (i1 == 0) {}
    return Math.abs(d1 / d3 * (d4 / d6) + d2 / d3 * (d5 / d6)) < 1.0E-008D;
  }
  
  private static boolean a(int paramInt)
  {
    int i1 = x;
    if (i1 == 0) {
      if (paramInt != 0)
      {
        if ((i1 == 0) && ((paramInt & 0x7) == 0)) {
          break label38;
        }
        if (i1 != 0) {
          break label35;
        }
      }
    }
    label35:
    label38:
    return (paramInt & 0xFFFFFFF8) == 0;
  }
  
  private static Node a(SVGDocument paramSVGDocument, Node paramNode)
  {
    int i4 = x;
    LinkedHashMap localLinkedHashMap = null;
    Element localElement = paramSVGDocument.getDocumentElement();
    Object localObject;
    int i2;
    if ((localElement instanceof ViewCSS))
    {
      localLinkedHashMap = new LinkedHashMap();
      new d_().a(paramSVGDocument);
      localObject = ((ViewCSS)localElement).getComputedStyle(localElement, null);
      int i1 = 0;
      i2 = ((CSSStyleDeclaration)localObject).getLength();
      do
      {
        if (i1 >= i2) {
          break;
        }
        String str = ((CSSStyleDeclaration)localObject).item(i1);
        localLinkedHashMap.put(str, ((CSSStyleDeclaration)localObject).getPropertyValue(str));
        i1++;
        if (i4 != 0) {
          return paramNode;
        }
      } while (i4 == 0);
    }
    if (i4 == 0) {
      if ((paramNode.getNodeType() == 1) && (localLinkedHashMap != null))
      {
        localObject = (Element)paramNode;
        NamedNodeMap localNamedNodeMap = ((Element)localObject).getAttributes();
        i2 = 0;
        int i3 = localNamedNodeMap.getLength();
        do
        {
          if (i2 >= i3) {
            break;
          }
          Attr localAttr = (Attr)localNamedNodeMap.item(i2);
          if (i4 == 0)
          {
            if (i4 != 0) {
              break label296;
            }
            if (localAttr.getSpecified()) {
              localLinkedHashMap.remove(localAttr.getName());
            }
            i2++;
          }
        } while (i4 == 0);
        Iterator localIterator = localLinkedHashMap.entrySet().iterator();
        do
        {
          if (!localIterator.hasNext()) {
            break;
          }
          Map.Entry localEntry = (Map.Entry)localIterator.next();
          if (i4 != 0) {
            break label296;
          }
          ((Element)localObject).setAttribute((String)localEntry.getKey(), (String)localEntry.getValue());
        } while (i4 == 0);
      }
    }
    label296:
    return paramNode;
  }
  
  public void a(URL paramURL)
    throws IOException
  {
    this.s = d(paramURL);
    this.t = paramURL;
    c();
  }
  
  public void b(URL paramURL)
  {
    this.t = paramURL;
    this.s = c(paramURL);
    c();
  }
  
  public URL b()
  {
    return this.t;
  }
  
  void c()
  {
    int i1 = x;
    if (i1 == 0) {
      if (this.s == null)
      {
        this.v = null;
        if (i1 == 0) {
          return;
        }
      }
    }
    if (i1 == 0) {}
    switch (this.w)
    {
    case 0: 
      this.v = this.s.getBounds();
      if (i1 == 0) {
        break;
      }
    case 3: 
      this.v = this.s.getPrimitiveBounds();
      if (i1 == 0) {
        break;
      }
    case 1: 
      this.v = this.s.getGeometryBounds();
      if (i1 == 0) {
        break;
      }
    case 2: 
      this.v = this.s.getBounds();
      Rectangle2D localRectangle2D1 = this.s.getGeometryBounds();
      if (i1 == 0) {
        if (this.v == null)
        {
          this.v = localRectangle2D1;
          if (i1 == 0) {
            break label178;
          }
        }
      }
      if (i1 == 0) {
        if (localRectangle2D1 != null) {
          this.v = this.v.createUnion(localRectangle2D1);
        }
      }
      label178:
      Rectangle2D localRectangle2D2 = this.s.getPrimitiveBounds();
      if (i1 == 0) {
        if (this.v == null) {
          this.v = localRectangle2D2;
        }
      }
      if ((i1 != 0) && (localRectangle2D2 != null)) {
        this.v = this.v.createUnion(localRectangle2D2);
      }
      break;
    }
  }
  
  public void a(Reader paramReader)
    throws IOException
  {
    this.s = c(paramReader);
    this.t = null;
    c();
  }
  
  public void a(Writer paramWriter)
    throws IOException
  {
    int i2 = x;
    if (this.u != null)
    {
      BufferedReader localBufferedReader = null;
      try
      {
        localBufferedReader = new BufferedReader(new InputStreamReader(new GZIPInputStream(new f_(this.u)), "UTF-8"));
        char[] arrayOfChar = new char[8192];
        int i1 = 0;
        do
        {
          if ((i1 = localBufferedReader.read(arrayOfChar)) <= -1) {
            break;
          }
          paramWriter.write(arrayOfChar, 0, i1);
          if (i2 != 0) {
            return;
          }
        } while (i2 == 0);
      }
      finally
      {
        if ((i2 != 0) || (localBufferedReader != null)) {
          localBufferedReader.close();
        }
      }
    }
  }
  
  public boolean d()
  {
    return this.s != null;
  }
  
  public int e()
  {
    return this.w;
  }
  
  public void b(int paramInt)
  {
    this.w = paramInt;
    if ((x != 0) || (d())) {
      c();
    }
  }
  
  private GraphicsNode c(URL paramURL)
  {
    try
    {
      return d(paramURL);
    }
    catch (IOException localIOException)
    {
      n.a(localIOException);
    }
    return null;
  }
  
  private GraphicsNode d(URL paramURL)
    throws IOException
  {
    String str = (String)l.get(paramURL);
    if ((x != 0) || (str == null)) {
      str = d(new InputStreamReader(paramURL.openStream()));
    }
    GraphicsNode localGraphicsNode = a(str);
    this.u = str;
    l.put(paramURL, this.u);
    return localGraphicsNode;
  }
  
  private GraphicsNode b(Reader paramReader)
  {
    try
    {
      return c(paramReader);
    }
    catch (IOException localIOException)
    {
      n.a(localIOException);
    }
    return null;
  }
  
  private GraphicsNode c(Reader paramReader)
    throws IOException
  {
    String str = d(paramReader);
    GraphicsNode localGraphicsNode = a(str);
    this.u = str;
    return localGraphicsNode;
  }
  
  private GraphicsNode a(String paramString)
    throws IOException
  {
    GraphicsNode localGraphicsNode = (GraphicsNode)m.get(paramString);
    if (x == 0) {
      if (localGraphicsNode == null)
      {
        localGraphicsNode = a(b(paramString));
        m.put(paramString, localGraphicsNode);
      }
    }
    return localGraphicsNode;
  }
  
  private SVGDocument b(String paramString)
    throws IOException
  {
    int i1 = x;
    BufferedReader localBufferedReader = null;
    try
    {
      localBufferedReader = new BufferedReader(new InputStreamReader(new GZIPInputStream(new f_(paramString)), "UTF-8"));
      e_ locale_ = new e_();
      SAXSVGDocumentFactory localSAXSVGDocumentFactory = new SAXSVGDocumentFactory(locale_.getXMLParserClassName());
      localSAXSVGDocumentFactory.setValidating(locale_.isXMLParserValidating());
      SVGDocument localSVGDocument = localSAXSVGDocumentFactory.createSVGDocument(e(this.t), localBufferedReader);
      return localSVGDocument;
    }
    finally
    {
      if ((i1 != 0) || (localBufferedReader != null)) {
        localBufferedReader.close();
      }
    }
  }
  
  private static String e(URL paramURL)
  {
    if ((x != 0) || (paramURL != null)) {
      return paramURL.toString();
    }
    return "file:///" + System.currentTimeMillis();
  }
  
  private String d(Reader paramReader)
    throws IOException
  {
    int i2 = x;
    BufferedReader localBufferedReader = null;
    try
    {
      localBufferedReader = new BufferedReader(paramReader);
      h_ localh_ = new h_();
      BufferedWriter localBufferedWriter = null;
      try
      {
        localBufferedWriter = new BufferedWriter(new OutputStreamWriter(new GZIPOutputStream(localh_), "UTF-8"));
        localObject1 = new char[8192];
        int i1 = 0;
        do
        {
          if ((i1 = localBufferedReader.read((char[])localObject1)) <= -1) {
            break;
          }
          localBufferedWriter.write((char[])localObject1, 0, i1);
          if (i2 != 0) {
            break label101;
          }
        } while (i2 == 0);
        localBufferedWriter.flush();
      }
      finally
      {
        label101:
        if ((i2 != 0) || (localBufferedWriter != null)) {
          localBufferedWriter.close();
        }
      }
      Object localObject1 = localh_.toString().intern();
      return localObject1;
    }
    finally
    {
      if ((i2 != 0) || (localBufferedReader != null)) {
        localBufferedReader.close();
      }
    }
  }
  
  private static GraphicsNode a(SVGDocument paramSVGDocument)
  {
    e_ locale_ = new e_();
    BridgeContext localBridgeContext = new BridgeContext(locale_);
    GVTBuilder localGVTBuilder = new GVTBuilder();
    return localGVTBuilder.build(localBridgeContext, paramSVGDocument);
  }
  
  void a(ObjectOutputStream paramObjectOutputStream)
    throws IOException
  {
    paramObjectOutputStream.writeObject(this.t);
    paramObjectOutputStream.writeInt(this.w);
    paramObjectOutputStream.writeObject(this.u);
  }
  
  void a(ObjectInputStream paramObjectInputStream)
    throws IOException, ClassNotFoundException
  {
    int i1 = x;
    this.t = ((URL)paramObjectInputStream.readObject());
    this.w = paramObjectInputStream.readInt();
    String str = ((String)paramObjectInputStream.readObject()).intern();
    this.s = a(str);
    this.u = str;
    if (i1 == 0) {
      if (this.t != null) {
        l.put(this.t, this.u);
      }
    }
    c();
    if (i1 != 0) {
      q.o = !q.o;
    }
  }
  
  public Object clone()
  {
    try
    {
      return super.clone();
    }
    catch (CloneNotSupportedException localCloneNotSupportedException)
    {
      localCloneNotSupportedException.printStackTrace();
    }
    return null;
  }
  
  public static void f()
  {
    synchronized (n)
    {
      n.clear();
    }
  }
  
  public static boolean g()
  {
    return q;
  }
  
  public static void a(boolean paramBoolean)
  {
    q = paramBoolean;
  }
  
  public static int h()
  {
    return o;
  }
  
  public static void c(int paramInt)
  {
    int i1 = x;
    o = Math.max(paramInt, 1);
    label80:
    synchronized (n)
    {
      if (i1 == 0) {
        if (o < n.size())
        {
          v localv = n.g();
          do
          {
            if (o >= n.size()) {
              break;
            }
            n.h(localv);
            localv = localv.b();
            if (i1 != 0) {
              break label80;
            }
          } while (i1 == 0);
        }
      }
    }
    if (q.o)
    {
      i1++;
      x = i1;
    }
  }
  
  public static int i()
  {
    return p;
  }
  
  public static void d(int paramInt)
  {
    int i1 = x;
    if (i1 == 0) {
      if (p > paramInt) {
        synchronized (n)
        {
          v localv = n.g();
          do
          {
            if (localv == null) {
              break;
            }
            b_ localb_ = (b_)localv.c();
            if (i1 == 0)
            {
              if (i1 != 0) {
                break label98;
              }
              if (paramInt < localb_.c * localb_.d * 4) {
                n.h(localv);
              }
              localv = localv.b();
            }
          } while (i1 == 0);
        }
      }
    }
    label98:
    p = paramInt;
  }
  
  public static double j()
  {
    return r;
  }
  
  public static void a(double paramDouble)
  {
    r = paramDouble;
  }
  
  private static final class h_
    extends OutputStream
  {
    private final StringBuffer a = new StringBuffer(8192);
    
    public void write(int paramInt)
      throws IOException
    {
      this.a.append((char)((byte)paramInt & 0xFF));
    }
    
    public void close()
      throws IOException
    {}
    
    public String toString()
    {
      return this.a.toString();
    }
  }
  
  private static final class f_
    extends InputStream
  {
    private final char[] a;
    private int b;
    private int c;
    private int d;
    
    f_(String paramString)
    {
      this.a = paramString.toCharArray();
      this.b = 0;
      this.c = 0;
      this.d = this.a.length;
    }
    
    public synchronized int read()
      throws IOException
    {
      return (d.x != 0) || (this.b < this.d) ? this.a[(this.b++)] & 0xFF : -1;
    }
    
    public synchronized int available()
    {
      return this.d - this.b;
    }
    
    public synchronized long skip(long paramLong)
    {
      int i = d.x;
      if (i == 0)
      {
        if (this.b + paramLong > this.d) {
          paramLong = this.d - this.b;
        }
        if (i != 0) {}
      }
      else
      {
        if (paramLong < 0L) {
          return 0L;
        }
        this.b = ((int)(this.b + paramLong));
      }
      return paramLong;
    }
    
    public void close()
      throws IOException
    {}
    
    public boolean markSupported()
    {
      return true;
    }
    
    public synchronized void mark(int paramInt)
    {
      this.c = this.b;
    }
    
    public synchronized void reset()
      throws IOException
    {
      this.b = this.c;
    }
  }
  
  private static final class c_
  {
    private final String a;
    
    private c_(String paramString)
    {
      this.a = paramString;
    }
    
    public String toString()
    {
      return this.a;
    }
    
    c_(String paramString, d.0 param0)
    {
      this(paramString);
    }
  }
  
  private static final class g_
    extends RenderingHints.Key
  {
    private g_()
    {
      super();
    }
    
    public boolean isCompatibleValue(Object paramObject)
    {
      int i = d.x;
      if ((i != 0) || (paramObject != null)) {
        if (i != 0) {
          break label24;
        }
      }
      label24:
      return (paramObject instanceof d.c_);
    }
    
    g_(d.0 param0)
    {
      this();
    }
  }
  
  static class e_
    extends UserAgentAdapter
  {
    public boolean isXMLParserValidating()
    {
      return false;
    }
    
    public Dimension2D getViewportSize()
    {
      return new Dimension(400, 400);
    }
    
    public String getXMLParserClassName()
    {
      return "b.a.c.c";
    }
  }
  
  static class b_
  {
    final Image a;
    final String b;
    final int c;
    final int d;
    
    public b_(Image paramImage, String paramString, int paramInt1, int paramInt2)
    {
      this.a = paramImage;
      this.b = paramString;
      this.c = paramInt1;
      this.d = paramInt2;
    }
  }
  
  final class d_
    extends BridgeContext
  {
    d_()
    {
      super();
    }
    
    void a(Document paramDocument)
    {
      setDocument(paramDocument);
      initializeDocument(paramDocument);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     b.a.d.d

 * JD-Core Version:    0.7.0.1

 */